package com.andova.egl

import com.andova.glcamera.DEFAULT_COLOR_FORMAT

interface OnEglThreadListener {
    fun onInitTexEglContext(width: Int, height: Int, format: Int, clientVersion: Int = 3)
    fun onInitTaskEglContext(width: Int, height: Int, clientVersion: Int = 3)
    fun onSizeChanged(width: Int, height: Int, format: Int = DEFAULT_COLOR_FORMAT)
    fun onUpdateTexImage()
    fun onTextureFrame()
    fun onTaskFrame()
    fun onDelayTask(what: Int)
}